package com.realshare.bby.model;

import org.beetl.sql.core.annotatoin.Table;

import java.util.List;


/* 
* 
* gen by beetlsql 2018-12-10
*/
@Table(name="rule_configs")
public class RuleConfigs   {
	
	/*
	积分规则 ID
	*/
	private String id ;
	/*
	适用的网点，多个网点编号用“,”分割开，为空时所有网点
	*/
	private String bankNos ;
	/*
	积分赠送后，用户手动领取的天数限制（0表示自动赠送，无需领取）
	*/
	private Long claimDay ;
	/*
	补充的其它限制条件
	*/
	private String confineSql ;
	/*
	创建时间
	*/
	private String createTime ;
	/*
	创建者
	*/
	private String creator ;
	/*
	数据时间列
	*/
	private String dataTimeId ;
	/*
	修改时间
	*/
	private String editTime ;
	/*
	修改者
	*/
	private String editor ;
	/*
	积分有效期结束时间
	*/
	private String endTime ;
	/*
	执行优先级，从小到大排列，数字越小优先级越高
	*/
	private Long excuteIndex ;
	/*
	给分数据时间列，只有当扣分时才有值
	*/
	private String giveDataTimeId ;
	/*
	关联的用户群组，多个群组用“,”分割开
	*/
	private String groupIds ;
	/*
	本规则最后计算数据时间
	*/
	private String lastDataTime ;
	/*
	对应的积分行为模型的 ID
	*/
	private String modelId ;
	/*
	规则名称
	*/
	private String name ;
	/*
	剩余给分比例列，只有当扣分时才有值
	*/
	private String residueRatioId ;
	/*
	积分有效期开始时间
	*/
	private String startTime ;
	/*
	状态 0新起草未正式保存；1正常；2已过期版本；-1已删除版本
	*/
	private Integer status ;
	/*
	预处理任务ID，为空时没有预处理任务
	*/
	private String taskId ;
	/*
	版本更新序号
	*/
	private Long versionIndex ;
	/*
	交易时间列
	*/
	private String tradeAmountId ;

	private RuleDataModelMetas tradeAmountMetas;
	private RuleDataModelMetas dataTimeMetas;
	private RuleDataModelMetas giveDataTimeMetas;
	private RuleDataModelMetas residueRatioIdMetas;
	private RuleDataModels ruleDataModels;
	private List<RuleGroups> ruleGroups;
	private List<RuleConfigGive> gives;
	private List<RuleConfigDeduct> deducts;
	
	public RuleConfigs() {
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBankNos() {
		return bankNos;
	}

	public void setBankNos(String bankNos) {
		this.bankNos = bankNos;
	}

	public Long getClaimDay() {
		return claimDay;
	}

	public void setClaimDay(Long claimDay) {
		this.claimDay = claimDay;
	}

	public String getConfineSql() {
		return confineSql;
	}

	public void setConfineSql(String confineSql) {
		this.confineSql = confineSql;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getDataTimeId() {
		return dataTimeId;
	}

	public void setDataTimeId(String dataTimeId) {
		this.dataTimeId = dataTimeId;
	}

	public String getEditTime() {
		return editTime;
	}

	public void setEditTime(String editTime) {
		this.editTime = editTime;
	}

	public String getEditor() {
		return editor;
	}

	public void setEditor(String editor) {
		this.editor = editor;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Long getExcuteIndex() {
		return excuteIndex;
	}

	public void setExcuteIndex(Long excuteIndex) {
		this.excuteIndex = excuteIndex;
	}

	public String getGiveDataTimeId() {
		return giveDataTimeId;
	}

	public void setGiveDataTimeId(String giveDataTimeId) {
		this.giveDataTimeId = giveDataTimeId;
	}

	public String getGroupIds() {
		return groupIds;
	}

	public void setGroupIds(String groupIds) {
		this.groupIds = groupIds;
	}

	public String getLastDataTime() {
		return lastDataTime;
	}

	public void setLastDataTime(String lastDataTime) {
		this.lastDataTime = lastDataTime;
	}

	public String getModelId() {
		return modelId;
	}

	public void setModelId(String modelId) {
		this.modelId = modelId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getResidueRatioId() {
		return residueRatioId;
	}

	public void setResidueRatioId(String residueRatioId) {
		this.residueRatioId = residueRatioId;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public Long getVersionIndex() {
		return versionIndex;
	}

	public void setVersionIndex(Long versionIndex) {
		this.versionIndex = versionIndex;
	}

	public String getTradeAmountId() {
		return tradeAmountId;
	}

	public void setTradeAmountId(String tradeAmountId) {
		this.tradeAmountId = tradeAmountId;
	}

	public RuleDataModelMetas getTradeAmountMetas() {
		return tradeAmountMetas;
	}

	public void setTradeAmountMetas(RuleDataModelMetas tradeAmountMetas) {
		this.tradeAmountMetas = tradeAmountMetas;
	}

	public RuleDataModelMetas getDataTimeMetas() {
		return dataTimeMetas;
	}

	public void setDataTimeMetas(RuleDataModelMetas dataTimeMetas) {
		this.dataTimeMetas = dataTimeMetas;
	}

	public RuleDataModelMetas getGiveDataTimeMetas() {
		return giveDataTimeMetas;
	}

	public void setGiveDataTimeMetas(RuleDataModelMetas giveDataTimeMetas) {
		this.giveDataTimeMetas = giveDataTimeMetas;
	}

	public RuleDataModelMetas getResidueRatioIdMetas() {
		return residueRatioIdMetas;
	}

	public void setResidueRatioIdMetas(RuleDataModelMetas residueRatioIdMetas) {
		this.residueRatioIdMetas = residueRatioIdMetas;
	}

	public RuleDataModels getRuleDataModels() {
		return ruleDataModels;
	}

	public void setRuleDataModels(RuleDataModels ruleDataModels) {
		this.ruleDataModels = ruleDataModels;
	}

	public List<RuleGroups> getRuleGroups() {
		return ruleGroups;
	}

	public void setRuleGroups(List<RuleGroups> ruleGroups) {
		this.ruleGroups = ruleGroups;
	}

	public List<RuleConfigGive> getGives() {
		return gives;
	}

	public void setGives(List<RuleConfigGive> gives) {
		this.gives = gives;
	}

	public List<RuleConfigDeduct> getDeducts() {
		return deducts;
	}

	public void setDeducts(List<RuleConfigDeduct> deducts) {
		this.deducts = deducts;
	}
}
